﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OpenMms.Domain.RequestModels
{
    /// <summary>
    /// 会员升级请求模型
    /// </summary>
    public class UserUpGradeReq
    {
        /// <summary>
        /// 会员编号
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 当前级别
        /// </summary>
        public Int16 NowLevel { get; set; }
        /// <summary>
        /// 升级后级别
        /// </summary>
        public Int16 AfterLevel { get; set; }
        /// <summary>
        /// 升级所需金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 二级密码
        /// </summary>
        public string SecondPassword { get; set; }
        /// <summary>
        /// 审核状态 0待审核 1已审核 2已拒绝
        /// </summary>
        public Int16 UpgradeState { get; set; } = 0;
        /// <summary>
        /// 升级时间
        /// </summary>
        public DateTime UpgradeDate { get { return DateTime.Parse(DateTime.Now.ToString()); } }

    }
}
